package Test1;

public class JavaTeacher extends Teacher{
    public JavaTeacher(String name, String sex, int age, int teachAge, String site) {
        super(name, sex, age, teachAge, site);
    }
    public void teaching(){
        System.out.println("打开Eclipse");
        teachingInfo();
    }
}
